package domain;

import java.io.Serializable;

/*表名：user_info（Hive表）
        user_id：其实就是每一个用户的唯一标识，通常是自增长的Long类型，BigInt类型
        name：每个用户自己的昵称、或者是真实姓名
        sex:性别
        age:年龄*/
public class User implements Serializable {

    private String userId;
    private String name;
    private String sex;
    private int age;

    public User(String userId, String name, String sex, int age) {
        this.userId = userId;
        this.name = name;
        this.sex = sex;
        this.age = age;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
